import axios from '@/libs/request'
// 各类型材料数量统计
export const getMaterialTypeNum = (data) => {
  return axios.request({
    url: '/api/as/dangan/record/getMaterialTypeNum',
    data: data,
    type: 'post'
  }).catch(ret => {
    console.log('各类型材料数量统计接口发生错误', ret)
  })
}
// 各类型人员信息
export const getPeopleInfoByTypeList = (data) => {
  return axios.request({
    url: '/api/as/dangan/record/getPeopleInfoByTypeList',
    data: data,
    type: 'post'
  }).catch(ret => {
    console.log('各类型人员信息接口发生错误', ret)
  })
}
// 各类型人员数量统计
export const getPeopleTypeNum = (data) => {
  return axios.request({
    url: '/api/as/dangan/record/getPeopleTypeNum',
    data: data,
    type: 'post'
  }).catch(ret => {
    console.log('各类型人员数量统计接口发生错误', ret)
  })
}

// 接收各类型人员数量统计
export const getPeopleTypeReceiveNum = (data) => {
  return axios.request({
    url: '/api/as/dangan/record/getPeopleTypeReceiveNum',
    data: data,
    type: 'post'
  }).catch(ret => {
    console.log('接收各类型人员数量统计接口发生错误', ret)
  })
}
